package org.example;

public class Demo03 {
    String str;
    private int a = 10;
    int b = 20;
    public int getA(){
        return a;
    }
    public void setA(int a){
        if (a>20){
            System.out.println("no");
            return;
        }
        this.a = a;
    }
}
